			<div id="main_login">
			<?php
				if (!$this->common->current_user()) {				
					echo form_open('authentication/login');
					echo form_label('Username', 'user').nbs(1).form_input('user', '').nbs(2);
					echo form_label('Password', 'pass').nbs(1).form_password('pass', '').nbs(2);
					echo form_submit('submit', 'Login');
					echo form_close();
				} else {			
			?>			
					<?=$this->common->anchor_current_user()?> (<?=$this->common->anchor_current_role_desc()?>) &mdash; <?=anchor_logout()?>
			<?php

			}
			?>
			</div>